import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/common.scss'
import dataV from '@jiaminghi/data-view'
import echarts from 'echarts'
import img from '@/views/04/lib/img'
import '@/views/04/assets/less/index.scss'
import 'iview/dist/styles/iview.css'; 
import Vcomp from '@/views/05/components/index'
import vueParticles from 'vue-particles'
import utils from "@/views/04/lib/utils"
import Toast from '@/views/05/components/toast/index.js'
import '@/views/05/assets/iconfont/iconfont.css'
import '@/views/05/assets/styles/common.scss'
Vue.prototype.$echarts = echarts

import axios from 'axios'
import 'echarts-liquidfill'
Vue.prototype.axios = axios

// 引入vue-awesome
import Icon from 'vue-awesome/components/Icon'
import 'vue-awesome/icons/index.js'
// 全局注册图标
Vue.component('icon', Icon)
import '@/views/06/assets/scss/style.scss'

import 'element-ui/lib/theme-chalk/index.css';
import { 
  Row, Col,  Table, TableColumn, Button, Dialog, Link
} from 'element-ui';
const { initMockData } = require('./views/07/mock/index')
initMockData()
// Vue.use(Icon)
Vue.use(Row)
Vue.use(Col)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Button)
Vue.use(Dialog)
Vue.use(Link)

Vue.prototype.$images = img
import iView from 'iview';
Vue.config.productionTip = false
Vue.use(dataV)
Vue.use(iView)
Vue.use(utils)
Vue.use(vueParticles)
Vue.use(Vcomp)
Vue.prototype.$Toast = Toast
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
